//
//  ZDCollectionHeadView.m
//  1012Category分类展示03
//
//  Created by Apple on 15/10/12.
//  Copyright © 2015年 itcast. All rights reserved.
//

#import "ZDTableHeaderView.h"

@interface ZDTableHeaderView ()

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@property (weak, nonatomic) IBOutlet UIButton *updateTimeBtn;

@end

@implementation ZDTableHeaderView

- (void)awakeFromNib {
    // Initialization code
}


+ (instancetype)tableHeaderView:(UITableView *)tableView
{
    static NSString *reuseID = @"ZDTableHeaderView";
    
    ZDTableHeaderView *headerView = [tableView dequeueReusableHeaderFooterViewWithIdentifier:reuseID];
    
    if (!headerView)
    {
        headerView = [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([ZDTableHeaderView class]) owner:nil options:nil] lastObject];
    }
    
    return headerView;
}


@end
